package com.joysuch.wwyt.bp.repository;

import com.joysuch.wwyt.bp.entity.BpStoreMaterialType;
import org.springframework.data.jpa.repository.JpaRepository;

public interface BpStoreMaterialTypeDao extends JpaRepository<BpStoreMaterialType,Long> {
    BpStoreMaterialType findByName(String name);

    String findNameById(Long typeId);
}
